﻿using JESAI.Application.Abstractions.Validators;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JESAI.Application.Abstractions.Admin.Dtos.User
{
    public class QueryAllUsersInput
    {
        /// <summary>
        /// 用户状态
        /// </summary>
        public int State { set; get; } = -1;
        /// <summary>
        /// 账号
        /// </summary>
        public string? UserName { set; get; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string? RealName { set; get; }
        /// <summary>
        /// 手机号
        /// </summary>
        [Mobile("104002", "不是有效手机号")]
        public string? Mobile { set; get; }
        /// <summary>
        /// 平台名称
        /// </summary>
        public string? PlatformKey { set; get; }
        /// <summary>
        /// 角色
        /// </summary>
        public int RoleId { set; get; }
    }
}
